/*
 *  this file store the relate quetions of all the questions
 *
 */
#ifndef SIMTABLE_H_
#define SIMTABLE_H_
#include "header.h"
class SimTable {
    public:
        SimTable();
        SimTable(DBBase *db, const char* tableName);
        ~SimTable();
        void insertItem(int qId, const char * simString);
        const char* getSims(int qId);
        void getSimFromDB(vector<mypair> &sim, int qId);
    private:
        DBBase *db;
        const char *tableName;
        char* simStr;
};

#endif //SIMTABLE_H_
